// Variables.less
// Variables to customize the look and feel of Bootstrap
// -----------------------------------------------------


// GLOBAL VALUES
// --------------------------------------------------
@imagePath:			"../../themes/puzzing/img";
@staticImagePath:			"../../assets/img";

@borderColor:           {css bordercolor};
@border: 1px solid @borderColor;
@borderLight: 1px solid lighten(@borderColor, 5%);;
@smallFont: {css smallFont};
@mediumFont: {css mediumFont};
@largeFont: {css largeFont};

// Grays
// -------------------------
@black:                 #000;
@gray:                  {css gray};
@grayDark:              darken(@gray, 10%);
@grayDarker:            darken(@gray, 20%);
@grayLight:             lighten(@gray, 10%);
@grayLighter:           lighten(@gray, 20%);
@white:                 #fff;


// Accent colors
// -------------------------
@blue:                  {css blue};
@blueDark:              darken(@blue, 10%);
@green:                 {css green};
@red:                   {css red};
@yellow:                {css yellow};
@orange:                {css orange};
@pink:                  {css pink};
@purple:                {css purple};
@puzzColor:				{css puzzColor};


// Scaffolding
// -------------------------
@bodyBackground:        {css bodyBackground};
@textColor:             {css textColor};


// Links
// -------------------------
@linkColor:             {css linkColor};
@linkColorHover:        darken(@linkColor, 15%);


// Typography
// -------------------------
@sansFontFamily:        tahoma,'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
@serifFontFamily:       Georgia, "Times New Roman", Times, serif;
@monoFontFamily:        Menlo, Monaco, Consolas, "Courier New", monospace;
@boldFontFamily:       {css boldFontFamily};

@baseFontSize:          @mediumFont;
@baseFontFamily:        {css baseFontFamily};
@baseLineHeight:        {css baseLineHeight};
@altFontFamily:         @baseFontFamily;

@headingsFontFamily:    inherit; // empty to use BS default, @baseFontFamily
@headingsFontWeight:    bold;    // instead of browser default, bold
@headingsColor:         inherit; // empty to use BS default, @textColor


// Tables
// -------------------------
@tableBackground:                   transparent; // overall background-color
@tableBackgroundAccent:             #f9f9f9; // for striping
@tableBackgroundHover:              #f5f5f5; // for hover
@tableBorder:                       #ddd; // table and cell border



// Buttons
// -------------------------
@btnBackground:                     @white;
@btnBackgroundHighlight:            darken(@white, 10%);
@btnBorder:                         #ccc;

@btnPrimaryBackground:              @linkColor;
@btnPrimaryBackgroundHighlight:     spin(@btnPrimaryBackground, 15%);

@btnInfoBackground:                 #5bc0de;
@btnInfoBackgroundHighlight:        #2f96b4;

@btnSuccessBackground:              #62c462;
@btnSuccessBackgroundHighlight:     #51a351;

@btnWarningBackground:              lighten(@orange, 15%);
@btnWarningBackgroundHighlight:     @orange;

@btnDangerBackground:               #ee5f5b;
@btnDangerBackgroundHighlight:      #bd362f;

@btnInverseBackground:              @gray;
@btnInverseBackgroundHighlight:     @grayDarker;

@btnPuzzBackground:                 @puzzColor;
@btnPuzzBackgroundHighlight:        darken(@puzzColor,5%);

// Forms
// -------------------------
@inputBackground:               {css inputBackground};
@inputBorder:                   {css inputBorder};
@inputBorderRadius:             3px;
@inputDisabledBackground:       @grayLighter;
@formActionsBackground:         #f5f5f5;

// Dropdowns
// -------------------------
@dropdownBackground:            {css dropdownBackground};
@dropdownBorder:                {css dropdownBorder};
@dropdownLinkColor:             {css dropdownLinkColor};
@dropdownLinkColorHover:        {css dropdownLinkColorHover};
@dropdownLinkBackgroundHover:   {css dropdownLinkBackgroundHover};
@dropdownDividerTop:            {css dropdownDivider};
@dropdownDividerBottom:         {css dropdownDivider};



// COMPONENT VARIABLES
// --------------------------------------------------

// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
@zindexDropdown:          1000;
@zindexPopover:           1010;
@zindexTooltip:           1020;
@zindexFixedNavbar:       1030;
@zindexModalBackdrop:     1040;
@zindexModal:             1050;


// Sprite icons path
// -------------------------
@iconSpritePath:          "@{imagePath}/glyphicons-halflings.png";
@iconWhiteSpritePath:     "@{imagePath}/glyphicons-halflings-white.png";
@contentBackPath:     	  "{css contentBackPath}";
@contentBackGround:       {css contentBackGround};
@contentinnerBackGround:  {css contentInnerBackGround};


// Input placeholder text color
// -------------------------
@placeholderText:         @grayLight;


// Hr border color
// -------------------------
@hrBorder:                @grayLighter;


// Navbar
// -------------------------
@navbarHeight:                    {css navbarHeight};
@navbarBackground:                {css navbarBackground};
@navbarBackgroundHighlight:       {css navbarBackgroundHighlight};

@navbarText:                      {css navbarText};
@navbarFontSize:          		  16px;
@navbarLinkColor:                 {css navbarLinkColor};
@navbarLinkColorHover:            {css navbarLinkColorHover};
@navbarLinkColorActive:           @navbarLinkColorHover;
@navbarLinkBackgroundHover:       transparent;
@navbarLinkBackgroundActive:      @navbarBackground;

@navbarSearchBackground:          {css navbarSearchBackground};
@navbarSearchBackgroundFocus:     @white;
@navbarSearchBorder:              darken(@navbarSearchBackground, 30%);
@navbarSearchPlaceholderColor:    #ccc;
@navbarBrandColor:                @navbarLinkColor;

@navtxtshadow:					  {css navtxtshadow};

// Hero unit
// -------------------------
@heroUnitBackground:              @grayLighter;
@heroUnitHeadingColor:            inherit;
@heroUnitLeadColor:               inherit;


// Form states and alerts
// -------------------------
@warningText:             #c09853;
@warningBackground:       #fcf8e3;
@warningBorder:           darken(spin(@warningBackground, -10), 3%);

@errorText:               #b94a48;
@errorBackground:         #f2dede;
@errorBorder:             darken(spin(@errorBackground, -10), 3%);

@successText:             #468847;
@successBackground:       #dff0d8;
@successBorder:           darken(spin(@successBackground, -10), 5%);

@infoText:                #3a87ad;
@infoBackground:          #d9edf7;
@infoBorder:              darken(spin(@infoBackground, -10), 7%);



// GRID
// --------------------------------------------------

// Default 940px grid
// -------------------------
@gridColumns:             12;
@gridColumnWidth:         60px;
@gridGutterWidth:         20px;
@gridRowWidth:            (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));

// Fluid grid
// -------------------------
@fluidGridColumnWidth:    6.382978723%;
@fluidGridGutterWidth:    2.127659574%;

@borderBack: url("@{imagePath}/border-2px.gif") repeat-x bottom left;
@imageBg: url("@{imagePath}/checker-10x10.gif") repeat;